exec
: A Rust library to replace the running program with another
This is a simple Rust wrapper around execvp
. It can be used as follows:
let err = new
.arg.arg
.exec;
println!;
Note that if exec
returns, it will always return an error. There's also
a lower-level exec::execvp
function if you need to use it.